home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 December / PCWorld_2007-12_cd.bin / domacnost a kancelar / autoit / autoit-v3-setup.exe / Examples / Helpfile / GUICtrlCreateGroup.au3 < prev    next >
Text File  |  2007-09-08  |  531b  |  20 lines

  1. #include <GUIConstants.au3>
  2.  
  3. GUICreate("My GUI group")  ; will create a dialog box that when displayed is centered
  4.  
  5. GUICtrlCreateGroup ("Group 1", 190, 60, 90, 140)
  6. $radio_1 = GUICtrlCreateRadio ("Radio 1", 210, 90, 50, 20)
  7. $radio_2 = GUICtrlCreateRadio ("Radio 2", 210, 110, 60, 50)
  8. GUICtrlCreateGroup ("",-99,-99,1,1)  ;close group
  9.  
  10. GUISetState ()       ; will display an empty dialog box
  11.  
  12. ; Run the GUI until the dialog is closed
  13. While 1
  14.     $msg = GUIGetMsg()
  15.     
  16.     If $msg = $GUI_EVENT_CLOSE Then ExitLoop
  17. Wend
  18.  
  19.  
  20.